home *** CD-ROM | disk | FTP | other *** search
- var §\x01§ = 356;
- loop0:
- while(true)
- {
- if(eval("\x01") == 356)
- {
- set("\x01",eval("\x01") + 70);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 426)
- {
- set("\x01",eval("\x01") - 116);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 330);
- }
- continue;
- }
- if(eval("\x01") == 858)
- {
- set("\x01",eval("\x01") - 773);
- §§push(§§pop() < §§pop());
- break;
- }
- if(eval("\x01") == 309)
- {
- set("\x01",eval("\x01") + 4);
- continue;
- }
- if(eval("\x01") == 869)
- {
- set("\x01",eval("\x01") - 579);
- continue;
- }
- if(eval("\x01") == 290)
- {
- set("\x01",eval("\x01") + 162);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 390)
- {
- set("\x01",eval("\x01") + 468);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 773);
- }
- continue;
- }
- if(eval("\x01") == 310)
- {
- set("\x01",eval("\x01") + 330);
- break;
- }
- if(eval("\x01") == 115)
- {
- set("\x01",eval("\x01") + 595);
- continue;
- }
- if(eval("\x01") == 85)
- {
- set("\x01",eval("\x01") + 205);
- continue;
- }
- if(eval("\x01") == 52)
- {
- set("\x01",eval("\x01") + 338);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 640)
- {
- set("\x01",eval("\x01") - 327);
- continue;
- }
- if(eval("\x01") == 313)
- {
- set("\x01",eval("\x01") + 359);
- §§push(true);
- continue;
- }
- if(eval("\x01") == 672)
- {
- set("\x01",eval("\x01") + 13);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 9);
- }
- continue;
- }
- if(eval("\x01") != 685)
- {
- if(eval("\x01") == 954)
- {
- set("\x01",eval("\x01") - 902);
- }
- else if(eval("\x01") == 694)
- {
- set("\x01",eval("\x01") - 642);
- }
- else if(eval("\x01") == 452)
- {
- set("\x01",eval("\x01") + 140);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 157);
- }
- }
- else
- {
- if(eval("\x01") == 592)
- {
- set("\x01",eval("\x01") - 157);
- break;
- }
- if(eval("\x01") == 435)
- {
- set("\x01",eval("\x01") + 275);
- }
- else
- {
- if(eval("\x01") != 710)
- {
- if(eval("\x01") == 326)
- {
- set("\x01",eval("\x01") - 100);
- if(!_global.CheckGoods)
- {
- _loc2_ = _global.CheckGoods = function()
- {
- }.prototype;
- _loc2_.Check_Goods = function()
- {
- var _loc5_ = undefined;
- this.Display = new DisplayScore();
- this.nShowScore = new ShowScore();
- if(_root.goods7.people == true && _root.goods7.flag == true)
- {
- removeMovieClip(_root.goods7.g7);
- if(_root.Attendant.sLeftGoods == "money")
- {
- _root.Attendant.sLeftGoods = null;
- removeMovieClip("goods_left");
- _root.goods7.xianshi.gotoAndPlay(2);
- _root.goods7.shine.gotoAndStop(1);
- }
- if(_root.Attendant.sRightGoods == "money")
- {
- _root.Attendant.sRightGoods = null;
- _root.goods7.xianshi.gotoAndPlay(2);
- _root.goods7.shine.gotoAndStop(1);
- removeMovieClip("goods_right");
- }
- }
- var _loc4_ = 1;
- while(_loc4_ <= 6)
- {
- if(_root["goods" + _loc4_]._visible == false)
- {
- removeMovieClip(_root["goods" + _loc4_]["g" + _root["goods" + _loc4_].nMyId]);
- }
- if(_root["goods" + _loc4_].people == true && _root["goods" + _loc4_]._visible == true)
- {
- removeMovieClip(_root["goods" + _loc4_]["g" + _loc4_]);
- switch(_loc4_)
- {
- case 3:
- _loc5_ = "cola";
- break;
- case 1:
- _loc5_ = "milk";
- break;
- case 2:
- _loc5_ = "candy";
- break;
- case 5:
- _loc5_ = "oil";
- break;
- case 4:
- _loc5_ = "coffee";
- break;
- case 6:
- _loc5_ = "sendwich";
- }
- if(_root["goods" + _loc4_].Num > 0)
- {
- if(_root["goods" + _loc4_].flag == true && _root.Attendant.sLeftGoods == null)
- {
- _root.Attendant.sLeftGoods = "goods" + _loc4_;
- _root.attachMovie(_loc5_,"goods_left",_root.Attendant.getDepth() + 1);
- if(_root["goods" + _loc4_].Num == 1)
- {
- _root["goods" + _loc4_]._visible = false;
- }
- if(_root["goods" + _loc4_].Num <= 0)
- {
- _root["goods" + _loc4_]._visible = false;
- }
- _root["goods" + _loc4_].Num--;
- SetPos.SetLeftPos(_root.Attendant.sLeftGoods);
- SetPos.SetRightPos(_root.Attendant.sRightGoods);
- if(_root.Attendant.sRightGoods == null)
- {
- SetPos.SetRightPos(_root.Attendant.sLeftGoods);
- }
- _root["goods" + _loc4_].flag = false;
- break;
- }
- if(_root["goods" + _loc4_].flag == true && _root.Attendant.sRightGoods == null)
- {
- _root.Attendant.sRightGoods = "goods" + _loc4_;
- _root.attachMovie(_loc5_,"goods_right",_root.Attendant.getDepth() + 2);
- if(_root["goods" + _loc4_].Num == 0)
- {
- _root["goods" + _loc4_]._visible = false;
- }
- else if(_root["goods" + _loc4_].Num > 1)
- {
- }
- if(_root["goods" + _loc4_].Num <= 0)
- {
- _root["goods" + _loc4_]._visible = false;
- }
- _root["goods" + _loc4_].Num--;
- SetPos.SetLeftPos(_root.Attendant.sLeftGoods);
- SetPos.SetRightPos(_root.Attendant.sRightGoods);
- _root["goods" + _loc4_].flag = false;
- break;
- }
- }
- }
- _loc4_ = _loc4_ + 1;
- }
- var _loc6_ = _root.Attendant._x + _global.LeftX;
- var _loc7_ = _root.Attendant._y + _global.LeftY;
- if(_root.Attendant.sLeftGoods != null && _root.Attendant.sRightGoods == null && !_root.Attendant.isGas || _root.Attendant.sLeftGoods == null && _root.Attendant.sRightGoods != null && !_root.Attendant.isGas)
- {
- _root.Attendant.gotoAndStop("walk_onehand");
- if(_root.bToRight == true)
- {
- trace("ToRight");
- _root.goods_left._x = _loc6_ - _global.LeftX + _global.RightX;
- _root.goods_right._x = _loc6_ - _global.LeftX + _global.RightX;
- }
- else
- {
- trace("ToRight false");
- _root.goods_left._x = _loc6_;
- _root.goods_right._x = _loc6_;
- }
- _root.goods_left._y = _loc7_;
- _root.goods_right._y = _loc7_ - _global.LeftY + _global.RightY;
- if(_root.Attendant.sLeftGoods == null && _root.Attendant.sRightGoods != null)
- {
- SetPos.SetLeftPos(_root.Attendant.sRightGoods);
- SetPos.SetRightPos(_root.Attendant.sRightGoods);
- }
- }
- else if(_root.Attendant.sLeftGoods != null && _root.Attendant.sRightGoods != null)
- {
- _root.Attendant.gotoAndStop("walk_twohand");
- _root.goods_left._x = _loc6_;
- _root.goods_left._y = _loc7_;
- _root.goods_right._x = _loc6_ - _global.LeftX + _global.RightX;
- _root.goods_right._y = _loc7_ - _global.LeftY + _global.RightY;
- }
- else if(_root.Attendant.sLeftGoods != null || _root.Attendant.sRightGoods != null && _root.Attendant.isGas)
- {
- _root.Attendant.gotoAndStop("jiayou_onehand");
- _root.goods_left._x = _loc6_;
- _root.goods_left._y = _loc7_;
- _root.goods_right._x = _loc6_;
- _root.goods_right._y = _loc7_ - _global.LeftY + _global.RightY;
- }
- else if(_root.Attendant.sLeftGoods == null && _root.Attendant.isGas)
- {
- _root.Attendant.gotoAndStop("jiayou");
- }
- else
- {
- _root.Attendant.gotoAndStop("walk_none");
- }
- };
- §§push(ASSetPropFlags(_global.CheckGoods.prototype,null,1));
- }
- §§pop();
- break;
- }
- if(eval("\x01") == 226)
- {
- set("\x01",eval("\x01") - 226);
- }
- break;
- }
- set("\x01",eval("\x01") - 384);
- }
- }
- continue;
- }
- set("\x01",eval("\x01") + 9);
- while(true)
- {
- if(§§pop())
- {
- set("\x01",eval("\x01") + 8);
- }
- else
- {
- if(eval("\x01") == 323)
- {
- set("\x01",eval("\x01") - 323);
- break loop0;
- }
- if(eval("\x01") == 8)
- {
- set("\x01",eval("\x01") + 37);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 310);
- }
- }
- else if(eval("\x01") == 831)
- {
- set("\x01",eval("\x01") - 689);
- }
- else
- {
- if(eval("\x01") != 355)
- {
- if(eval("\x01") == 45)
- {
- set("\x01",eval("\x01") + 310);
- }
- else
- {
- if(eval("\x01") != 638)
- {
- break loop0;
- }
- set("\x01",eval("\x01") + 22);
- if(§§pop())
- {
- set("\x01",eval("\x01") - 582);
- }
- while(true)
- {
- if(eval("\x01") == 441)
- {
- set("\x01",eval("\x01") + 197);
- §§push(true);
- continue;
- }
- if(eval("\x01") != 777)
- {
- if(eval("\x01") == 927)
- {
- set("\x01",eval("\x01") - 785);
- }
- else if(eval("\x01") == 142)
- {
- set("\x01",eval("\x01") + 635);
- }
- else if(eval("\x01") == 653)
- {
- set("\x01",eval("\x01") - 315);
- if(§§pop())
- {
- set("\x01",eval("\x01") + 589);
- }
- }
- else if(eval("\x01") == 801)
- {
- set("\x01",eval("\x01") - 793);
- §§push(true);
- }
- else
- {
- if(eval("\x01") == 660)
- {
- set("\x01",eval("\x01") - 582);
- break loop0;
- }
- if(eval("\x01") == 78)
- {
- set("\x01",eval("\x01") + 723);
- }
- else if(eval("\x01") == 513)
- {
- set("\x01",eval("\x01") + 288);
- }
- else
- {
- if(eval("\x01") == 338)
- {
- set("\x01",eval("\x01") + 589);
- break loop0;
- }
- if(eval("\x01") != 387)
- {
- break;
- }
- set("\x01",eval("\x01") + 266);
- §§push(true);
- }
- }
- continue;
- }
- set("\x01",eval("\x01") - 454);
- if(!_global.CheckNeed)
- {
- var _loc2_ = _global.CheckNeed = function()
- {
- }.prototype;
- _global.CheckNeed = function()
- {
- }.Check_Need = function()
- {
- var _loc10_ = undefined;
- var _loc7_ = true;
- var _loc6_ = true;
- var _loc5_ = true;
- var _loc11_ = true;
- var _loc9_ = true;
- var _loc8_ = String(_global.nScore);
- if(_root.shuazi.shuazi.s == "yes")
- {
- _loc9_ = false;
- }
- if(_root.ground_normal.daqi.c.s == "yes")
- {
- _loc11_ = false;
- }
- var _loc3_ = 1;
- while(_loc3_ <= _root.arrCarPos.length)
- {
- if(_root.arrCarPos[_loc3_ - 1].s == "yes")
- {
- _loc7_ = false;
- }
- _loc3_ = _loc3_ + 1;
- }
- _loc3_ = 1;
- while(_loc3_ <= 6)
- {
- if(_root["pump" + _loc3_].s == "yes")
- {
- _loc6_ = false;
- }
- _loc3_ = _loc3_ + 1;
- }
- _loc3_ = _loc8_.length;
- while(_loc3_ > 0)
- {
- var _loc4_ = 11 - _loc3_;
- if(!_root["score" + _loc4_].Stop)
- {
- _loc5_ = false;
- }
- _loc3_ = _loc3_ - 1;
- }
- if(_loc7_ && _loc6_ && _loc5_ && _loc11_ && _loc9_ && _root.Attendant.sLeftGoods == null && _root.Attendant.sRightGoods == null)
- {
- _loc10_ = true;
- }
- else
- {
- _loc10_ = false;
- }
- return _loc10_;
- };
- §§push(ASSetPropFlags(_global.CheckNeed.prototype,null,1));
- }
- §§pop();
- }
- continue;
- addr223:
- }
- break loop0;
- }
- set("\x01",eval("\x01") + 32);
- }
- }
- §§goto(addr223);
- }
- }
-